package cn.yuanqiao.archive.bianjifabu.domain;

import cn.yuanqiao.common.annotation.IdAnnotation;
import cn.yuanqiao.common.utils.StringUtils;
import cn.yuanqiao.common.core.domain.BaseEntity;
import cn.yuanqiao.common.utils.SecurityUtils;

/**
 * 【请填写功能名称】对象 A001_YQFANGANWATER
 *
 * @author yuanqiao
 * @date 2024-03-21
 */
public class Yqfanganwater extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public static final String BIGTABLENAME = "_YQFANGANWATER";

    public Yqfanganwater() {
        String tenantCode = SecurityUtils.getTenantCode();
        if(StringUtils.isEmpty(tenantCode)){
            if(SecurityUtils.getLoginUser() != null){
                tenantCode = SecurityUtils.getLoginUser().getSysUser().getTenantCode();
            }
        }
        this.tableName = tenantCode.toUpperCase()+BIGTABLENAME;
    }

    private String tableName;
    /** $column.columnComment */
    //@Exceel(name = "${comment}", readConverterExp = "$column.readConverterExp()"
    @IdAnnotation
    private Long id;

    /** 方案id */
    //@Exceel(name = "方案id")
    private String fanganId;

    /** 水印内容 */
    //@Exceel(name = "水印内容")
    private String waterNeirong;

    /** 高度 */
    //@Exceel(name = "高度")
    private String gaodu;

    /** 宽度 */
    //@Exceel(name = "宽度")
    private String kuandu;

    /** 间隔 */
    //@Exceel(name = "间隔")
    private String jiange;

    /** 透明度 */
    //@Exceel(name = "透明度")
    private String toumingdu;

    /** 倾斜度 */
    //@Exceel(name = "倾斜度")
    private String qingxiedu;

    /** 字体大小 */
    //@Exceel(name = "字体大小")
    private String zitiDaxiao;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFanganId() {
        return fanganId;
    }

    public void setFanganId(String fanganId) {
        this.fanganId = fanganId;
    }

    public String getWaterNeirong() {
        return waterNeirong;
    }

    public void setWaterNeirong(String waterNeirong) {
        this.waterNeirong = waterNeirong;
    }

    public String getGaodu() {
        return gaodu;
    }

    public void setGaodu(String gaodu) {
        this.gaodu = gaodu;
    }

    public String getKuandu() {
        return kuandu;
    }

    public void setKuandu(String kuandu) {
        this.kuandu = kuandu;
    }

    public String getJiange() {
        return jiange;
    }

    public void setJiange(String jiange) {
        this.jiange = jiange;
    }

    public String getToumingdu() {
        return toumingdu;
    }

    public void setToumingdu(String toumingdu) {
        this.toumingdu = toumingdu;
    }

    public String getQingxiedu() {
        return qingxiedu;
    }

    public void setQingxiedu(String qingxiedu) {
        this.qingxiedu = qingxiedu;
    }

    public String getZitiDaxiao() {
        return zitiDaxiao;
    }

    public void setZitiDaxiao(String zitiDaxiao) {
        this.zitiDaxiao = zitiDaxiao;
    }

    @Override
    public String toString() {
        return "Yqfanganwater{" +
                "id='" + id + '\'' +
                ", fanganId='" + fanganId + '\'' +
                ", waterNeirong='" + waterNeirong + '\'' +
                ", gaodu='" + gaodu + '\'' +
                ", kuandu='" + kuandu + '\'' +
                ", jiange='" + jiange + '\'' +
                ", toumingdu='" + toumingdu + '\'' +
                ", qingxiedu='" + qingxiedu + '\'' +
                ", zitiDaxiao='" + zitiDaxiao + '\'' +
                '}';
    }
}
